# -*- coding: utf-8 -*-
# File : order.py
# Author: taoyahui
# Date : 2021/10/17
from datetime import datetime

class Order:
    order_no = 0
    num = 0
    food_id = 0
    price = 0
    user_address = ''
    update_time = datetime.now()
    producers = []
    buyers = []
    shippers = []
    sellers = []
    prod_order_no = []
    ship_order_no = []
    sell_order_no = []

    def __init__(self, order_no, num, food_id, price, user_address, update_time):
        self.order_no = order_no
        self.num = num
        self.food_id = food_id
        self.price = price
        self.user_address = user_address
        self.update_time = update_time

